package com.saint.farmshop.Service.ServiceImpl;

import com.saint.farmshop.Entity.ProductionType;
import com.saint.farmshop.Mapper.MapperImpl.ProductionTypeMapperImpl;
import com.saint.farmshop.Service.ProductionTypeService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

/**
 * 产品类型服务实现类
 *
 * @author Saint
 * @date 2022/05/22
 */
@Service
public class ProductionTypeServiceImpl implements ProductionTypeService {

    @Resource
    ProductionTypeMapperImpl productionTypeMapper;

    @Override
    public List<ProductionType> getProductionTypeList() {
        return productionTypeMapper.getTypeList();
    }
}
